<?php

class Asistencia{
	
	public $bd;
	public $resultado;

	
	public function __construct(){
		
		$this->bd = new Basedatos();
		
	}
		
	public function asistencia_curso($curso){
		$query = "CALL AsistenciaCurso('".$curso."')";
		$this->result = $this->bd->select($query);
		return $this->result;
	}
}
?>